<?php
	namespace app\index\Controller;
	use think\Controller;
	class Common extends Controller{
		public function initialize(){
			$zhangsan=session('name');
			if($zhangsan=null){
			return $this->redirect('login/login');
			}
		}
	} 
?>